home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_87 / devspkr.asm < prev    next >
Assembly Source File  |  1995-01-01  |  566b  |  34 lines

  1.                 INCLUDE SoundDevices.INC
  2.  
  3.  
  4. EXTRN SpkrTabla : BYTE
  5.  
  6.  
  7.                 CODESEG
  8.  
  9. PUBLIC SpkrIntHandler
  10.  
  11. SpkrIntHandler:
  12.                 PUSH    AX
  13.                 MOV     AL,0
  14. @@Data1:
  15.                 OUT     42h,AL
  16.                 POP     AX
  17.  
  18.                 Chunk1
  19.  
  20.                 Chunk2
  21.  
  22.                 MonoChunk31
  23.  
  24.                 Chunk41
  25.  
  26.                 MOV     AL,CL
  27.                 MOV     BX,OFFSET SpkrTabla
  28.                 XLAT
  29.                 MOV     [BYTE PTR CS:@@Data1-1],AL
  30.  
  31.                 Chunk5
  32.  
  33. END
  34.